<template>
	<button class="container" type="default" :open-type="openType" @getuserinfo="onGetUserInfo" plain="true">
		<slot name="img"></slot>
	</button>
</template>

<script>
	export default {
		props: {
			openType: String
		},
		methods: {
			onGetUserInfo(e) {
				this.$emit('onClick', e.detail)
			}
		}
	}
</script>

<style>
	.container {
		padding: 0 !important;
		border: none !important;
	}
</style>
